Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix race in GN pod for out-of-order RemoteEndpoint events #2532

Merged
merged 1 commit into from
Jun 5, 2023

Conversation

sridhargaddam
Copy link
Member

When there is a gateway migration in a remote cluster or if there is any stale endpoint on the Broker associated with the remoteCluster, the events might come in out of order which can create issues for datapath connectivity. This PR includes the necessary checks in Globalnet pod to ignore any stale events.

Related to: #2399
Signed-off-by: Sridhar Gaddam sgaddam@redhat.com

When there is a gateway migration in a remote cluster or if there
is any stale endpoint on the Broker associated with the remoteCluster,
the events might come in out of order which can create issues for
datapath connectivity. This PR includes the necessary checks in
Globalnet pod to ignore any stale events.

Related to: submariner-io#2399
Signed-off-by: Sridhar Gaddam <sgaddam@redhat.com>
@submariner-bot
Copy link
Contributor

🤖 Created branch: z_pr2532/sridhargaddam/fix-ooo-events-gn
🚀 Full E2E won't run until the "ready-to-test" label is applied. I will add it automatically once the PR has 2 approvals, or you can add it manually.

@sridhargaddam sridhargaddam self-assigned this Jun 5, 2023
@sridhargaddam sridhargaddam added the backport This change requires a backport to eligible release branches label Jun 5, 2023
@submariner-bot submariner-bot added the ready-to-test When a PR is ready for full E2E testing label Jun 5, 2023
@tpantelis tpantelis enabled auto-merge (rebase) June 5, 2023 16:12
@tpantelis tpantelis merged commit a1e6b52 into submariner-io:devel Jun 5, 2023
@submariner-bot
Copy link
Contributor

🤖 Closed branches: [z_pr2532/sridhargaddam/fix-ooo-events-gn]

@sridhargaddam
Copy link
Member Author

Backport PRs:
release-0.15: #2536
release-0.14: #2537

@dfarrell07 dfarrell07 added the release-note-needed Should be mentioned in the release notes label Jun 5, 2023
sridhargaddam added a commit to sridhargaddam/submariner-website that referenced this pull request Jul 5, 2023
Includes the release notes for the following fixes.

* Submariner now uses case-insensitive comparison while parsing
  CNI names.
* subctl gather now collects Metrics proxy pod logs in a Globalnet
  deployment.
* Submariner Gateway pod now skips invoking cableEngine cleanup during
  termination, as this is handled by the Route agent during gateway migration.
* Fixed issue which caused the IPsec pluto process to crash when the remote
  endpoint was unstable.
* Submariner now handles out-of-order remote endpoint notifications properly
  in Globalnet component.

Related to: submariner-io/submariner#2486
Related to: submariner-io/subctl#770
Related to: submariner-io/submariner#2499
Related to: submariner-io/submariner#2517
Related to: submariner-io/submariner#2532
Signed-off-by: Sridhar Gaddam <sgaddam@redhat.com>
sridhargaddam added a commit to sridhargaddam/submariner-website that referenced this pull request Jul 6, 2023
Includes the release notes for the following fixes.

* Submariner now uses case-insensitive comparison while parsing
  CNI names.
* subctl gather now collects Metrics proxy pod logs in a Globalnet
  deployment.
* Submariner Gateway pod now skips invoking cableEngine cleanup during
  termination, as this is handled by the Route agent during gateway migration.
* Fixed issue which caused the IPsec pluto process to crash when the remote
  endpoint was unstable.
* Submariner now handles out-of-order remote endpoint notifications properly
  in Globalnet component.

Related to: submariner-io/submariner#2486
Related to: submariner-io/subctl#770
Related to: submariner-io/submariner#2499
Related to: submariner-io/submariner#2517
Related to: submariner-io/submariner#2532
Signed-off-by: Sridhar Gaddam <sgaddam@redhat.com>
skitt pushed a commit to skitt/submariner-website that referenced this pull request Jul 10, 2023
Includes the release notes for the following fixes.

* Submariner now uses case-insensitive comparison while parsing
  CNI names.
* subctl gather now collects Metrics proxy pod logs in a Globalnet
  deployment.
* Submariner Gateway pod now skips invoking cableEngine cleanup during
  termination, as this is handled by the Route agent during gateway migration.
* Fixed issue which caused the IPsec pluto process to crash when the remote
  endpoint was unstable.
* Submariner now handles out-of-order remote endpoint notifications properly
  in Globalnet component.

Related to: submariner-io/submariner#2486
Related to: submariner-io/subctl#770
Related to: submariner-io/submariner#2499
Related to: submariner-io/submariner#2517
Related to: submariner-io/submariner#2532
Signed-off-by: Sridhar Gaddam <sgaddam@redhat.com>
skitt pushed a commit to skitt/submariner-website that referenced this pull request Jul 10, 2023
Includes the release notes for the following fixes.

* Submariner now uses case-insensitive comparison while parsing
  CNI names.
* subctl gather now collects Metrics proxy pod logs in a Globalnet
  deployment.
* Submariner Gateway pod now skips invoking cableEngine cleanup during
  termination, as this is handled by the Route agent during gateway migration.
* Fixed issue which caused the IPsec pluto process to crash when the remote
  endpoint was unstable.
* Submariner now handles out-of-order remote endpoint notifications properly
  in Globalnet component.

Related to: submariner-io/submariner#2486
Related to: submariner-io/subctl#770
Related to: submariner-io/submariner#2499
Related to: submariner-io/submariner#2517
Related to: submariner-io/submariner#2532
Signed-off-by: Sridhar Gaddam <sgaddam@redhat.com>
skitt pushed a commit to submariner-io/submariner-website that referenced this pull request Jul 10, 2023
Includes the release notes for the following fixes.

* Submariner now uses case-insensitive comparison while parsing
  CNI names.
* subctl gather now collects Metrics proxy pod logs in a Globalnet
  deployment.
* Submariner Gateway pod now skips invoking cableEngine cleanup during
  termination, as this is handled by the Route agent during gateway migration.
* Fixed issue which caused the IPsec pluto process to crash when the remote
  endpoint was unstable.
* Submariner now handles out-of-order remote endpoint notifications properly
  in Globalnet component.

Related to: submariner-io/submariner#2486
Related to: submariner-io/subctl#770
Related to: submariner-io/submariner#2499
Related to: submariner-io/submariner#2517
Related to: submariner-io/submariner#2532
Signed-off-by: Sridhar Gaddam <sgaddam@redhat.com>
dfarrell07 pushed a commit to dfarrell07/submariner-website that referenced this pull request Oct 18, 2023
Includes the release notes for the following fixes.

* Submariner now uses case-insensitive comparison while parsing
  CNI names.
* subctl gather now collects Metrics proxy pod logs in a Globalnet
  deployment.
* Submariner Gateway pod now skips invoking cableEngine cleanup during
  termination, as this is handled by the Route agent during gateway migration.
* Fixed issue which caused the IPsec pluto process to crash when the remote
  endpoint was unstable.
* Submariner now handles out-of-order remote endpoint notifications properly
  in Globalnet component.

Related to: submariner-io/submariner#2486
Related to: submariner-io/subctl#770
Related to: submariner-io/submariner#2499
Related to: submariner-io/submariner#2517
Related to: submariner-io/submariner#2532
Signed-off-by: Sridhar Gaddam <sgaddam@redhat.com>
dfarrell07 pushed a commit to dfarrell07/submariner-website that referenced this pull request Oct 18, 2023
Includes the release notes for the following fixes.

* Submariner now uses case-insensitive comparison while parsing
  CNI names.
* subctl gather now collects Metrics proxy pod logs in a Globalnet
  deployment.
* Submariner Gateway pod now skips invoking cableEngine cleanup during
  termination, as this is handled by the Route agent during gateway migration.
* Fixed issue which caused the IPsec pluto process to crash when the remote
  endpoint was unstable.
* Submariner now handles out-of-order remote endpoint notifications properly
  in Globalnet component.

Related to: submariner-io/submariner#2486
Related to: submariner-io/subctl#770
Related to: submariner-io/submariner#2499
Related to: submariner-io/submariner#2517
Related to: submariner-io/submariner#2532
Signed-off-by: Sridhar Gaddam <sgaddam@redhat.com>
dfarrell07 pushed a commit to dfarrell07/submariner-website that referenced this pull request Oct 19, 2023
Includes the release notes for the following fixes.

* Submariner now uses case-insensitive comparison while parsing
  CNI names.
* subctl gather now collects Metrics proxy pod logs in a Globalnet
  deployment.
* Submariner Gateway pod now skips invoking cableEngine cleanup during
  termination, as this is handled by the Route agent during gateway migration.
* Fixed issue which caused the IPsec pluto process to crash when the remote
  endpoint was unstable.
* Submariner now handles out-of-order remote endpoint notifications properly
  in Globalnet component.

Related to: submariner-io/submariner#2486
Related to: submariner-io/subctl#770
Related to: submariner-io/submariner#2499
Related to: submariner-io/submariner#2517
Related to: submariner-io/submariner#2532
Signed-off-by: Sridhar Gaddam <sgaddam@redhat.com>
tpantelis pushed a commit to submariner-io/submariner-website that referenced this pull request Oct 22, 2023
Includes the release notes for the following fixes.

* Submariner now uses case-insensitive comparison while parsing
  CNI names.
* subctl gather now collects Metrics proxy pod logs in a Globalnet
  deployment.
* Submariner Gateway pod now skips invoking cableEngine cleanup during
  termination, as this is handled by the Route agent during gateway migration.
* Fixed issue which caused the IPsec pluto process to crash when the remote
  endpoint was unstable.
* Submariner now handles out-of-order remote endpoint notifications properly
  in Globalnet component.

Related to: submariner-io/submariner#2486
Related to: submariner-io/subctl#770
Related to: submariner-io/submariner#2499
Related to: submariner-io/submariner#2517
Related to: submariner-io/submariner#2532
Signed-off-by: Sridhar Gaddam <sgaddam@redhat.com>
tpantelis pushed a commit to tpantelis/submariner-website that referenced this pull request Nov 7, 2023
Includes the release notes for the following fixes.

* Submariner now uses case-insensitive comparison while parsing
  CNI names.
* subctl gather now collects Metrics proxy pod logs in a Globalnet
  deployment.
* Submariner Gateway pod now skips invoking cableEngine cleanup during
  termination, as this is handled by the Route agent during gateway migration.
* Fixed issue which caused the IPsec pluto process to crash when the remote
  endpoint was unstable.
* Submariner now handles out-of-order remote endpoint notifications properly
  in Globalnet component.

Related to: submariner-io/submariner#2486
Related to: submariner-io/subctl#770
Related to: submariner-io/submariner#2499
Related to: submariner-io/submariner#2517
Related to: submariner-io/submariner#2532
Signed-off-by: Sridhar Gaddam <sgaddam@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport This change requires a backport to eligible release branches backport-handled ready-to-test When a PR is ready for full E2E testing release-note-handled release-note-needed Should be mentioned in the release notes
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

6 participants